package com.esunrising.esungsc.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@ApiModel(description = "GSC账务凭证头")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "t_api_xm")
public class BFCustomItem extends BaseEntity{

    @Id
    private String ID;

    @Column(name = "ACCOUNTORG")
    private String accountOrg;

    @Column(name = "ALLOWADDLOWER")
    private String allowAddLower;

    @Column(name = "COMPLETEDATE")
    private String completeDate;

    @Column(name = "CUSITEMCATEGORY")
    private String cusItemCategory;

    @Column(name = "TYPECODE")
    private String typeCode;

    @Column(name = "TYPENAME")
    private String typeName;

    @Column(name = "CUSITEMCODE")
    private String cusItemCode;

    @Column(name = "CUSITEMFULLNAME_CHS")
    private String cusItemFullName;

    @Column(name = "CUSITEMNAME_CHS")
    private String cusItemName;

    @Column(name = "CUSITEMPROPERTY")
    private String cusItemProperty;

    @Column(name = "FIYEAR")
    private String fiYear;

    @Column(name = "ISCOMPLETED")
    private String isCompleted;

    @Column(name = "ISDISABLED")
    private String isDisabled;

    @Column(name = "ORGCODE")
    private String orgCode;

    @Column(name = "ORGNAME")
    private String orgName;

    @Column(name = "PARENTID")
    private String parentID;

    @Column(name = "PARENT_TREEINFO_PATH")
    private String paarentTreeInfoPath;

    @Column(name = "SECURITYLEVEL")
    private String securityLevel;

    @Column(name = "TREEINFO_ISDETAIL")
    private String treeInfoIsDetail;

    @Column(name = "TREEINFO_LAYER")
    private Integer treeInfoLayer;

    @Column(name = "TREEINFO_PATH")
    private String treeInfoPath;

    @Column(name = "TIMESTAMP_CREATEDON")
    private LocalDateTime timestampCreatedOn;

    @Column(name = "TIMESTAMP_LASTCHANGEDON")
    private LocalDateTime timestampLastChangedOn;

}
